﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC03Controller
    /// </summary>
    public class VYC03Controller
    {
        private static VYC03BO _vyc03Bo;
        public VYC03Controller()
        {
            //
            _vyc03Bo = new VYC03BO();
        }

        public List<ModelVYC03> GetAllList()
        {
            return _vyc03Bo.GetAllList();
        }

        public int AddData(ModelVYC03 model)
        {
            return _vyc03Bo.AddData(model);
        }

        public int EditData(ModelVYC03 model)
        {
            return _vyc03Bo.EditData(model);
        }

        public int DeleteData(ModelVYC03 model)
        {
            return _vyc03Bo.DeleteData(model);
        }

        public List<ModelVYC03> GetById(int id)
        {
            return _vyc03Bo.GetById(id);
        }
        public List<ModelVYC03> GetByIdLoaiTour(int idLoaitour)
        {
            return _vyc03Bo.GetByIdLoaiTour(idLoaitour);
        }
        public List<ModelVYC03> GetByUniqueId(string uniqueid)
        {
            return _vyc03Bo.GetByUniqueId(uniqueid);
        }
    }
}